import requests

url = r'https://cloud.connectiot.ai/connect-iot/tempSync/dashboard/weather/info'
params = {
    'propertyId': '1886417072624410624'
}
headers = {
    "Accept": "application/json, text/plain, */*",
    "Accept-Language": "en",
    "Referer": "https://cloud.connectiot.ai/",
    "Sec-CH-UA": '"Not;A=Brand";v="99", "Google Chrome";v="139", "Chromium";v="139"',
    "Sec-CH-UA-Mobile": "?0",
    "Sec-CH-UA-Platform": '"Windows"',
    "Source": "Web",
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) "
                  "AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36",
    "x-access-token": "1e03bc077ae3eb5b26410b563e232b4c"
}

response = requests.get(url, params=params, headers=headers)
print(response.json()['result']['currentTemp'])
